package com.yaodian100.ec.order.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_INBOUND_TRACKING_CASE")
public class InboundTrackingCase extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4639468159181505193L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_ec_inbound_tracking_case")
	@SequenceGenerator(name = "seq_ec_inbound_tracking_case", sequenceName = "SEQ_EC_INBOUND_TRACKING_CASE")
	@Column(name = "case_id")
	private Long caseId;

	/**
	 * 案件类型 1：退貨 2：換貨
	 */
	@Column(name = "case_type", nullable = false)
	private int caseType;

	/**
	 * 訂單編號
	 */
	@Column(name = "order_id", length = 13, nullable = false)
	private String orderId;

	/**
	 * 服務單號
	 */
	@Column(name = "service_order_id", length = 14)
	private String serviceOrderId;

	/**
	 * 会员寄送物流公司
	 */
	@Column(name = "ship_company", length = 15)
	private String shipCompany = " ";

	/**
	 * 会员寄送物流编号
	 */
	@Column(name = "ship_no", length = 64)
	private String shipNo;

	/**
	 * 是否仓库己收货
	 */
	@Column(name = "is_receive_package", length = 1)
	private String isReceivePackage = "N";

	/**
	 * 是否仓库己验过
	 */
	@Column(name = "is_qc", length = 1)
	private String isQc = "N";

	/**
	 * 是否换货己出货
	 */
	@Column(name = "is_ship", length = 1)
	private String isShip = "N";

	/**
	 * 是否换货己到货
	 */
	@Column(name = "is_arrival", length = 1)
	private String isArrival = "N";

	/**
	 * 是否己退款成功
	 */
	@Column(name = "is_refund", length = 1)
	private String isRefund = "N";

	public Long getCaseId() {
		return caseId;
	}

	public void setCaseId(Long caseId) {
		this.caseId = caseId;
	}

	public int getCaseType() {
		return caseType;
	}

	public void setCaseType(int caseType) {
		this.caseType = caseType;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getShipNo() {
		return shipNo;
	}

	public void setShipNo(String shipNo) {
		this.shipNo = shipNo;
	}

	public String getIsReceivePackage() {
		return isReceivePackage;
	}

	public void setIsReceivePackage(String isReceivePackage) {
		this.isReceivePackage = isReceivePackage;
	}

	public String getIsQc() {
		return isQc;
	}

	public void setIsQc(String isQc) {
		this.isQc = isQc;
	}

	public String getIsShip() {
		return isShip;
	}

	public void setIsShip(String isShip) {
		this.isShip = isShip;
	}

	public String getIsArrival() {
		return isArrival;
	}

	public void setIsArrival(String isArrival) {
		this.isArrival = isArrival;
	}

	public String getIsRefund() {
		return isRefund;
	}

	public void setIsRefund(String isRefund) {
		this.isRefund = isRefund;
	}

	public String getShipCompany() {
		return shipCompany;
	}

	public String getServiceOrderId() {
		return serviceOrderId;
	}

	public void setServiceOrderId(String serviceOrderId) {
		this.serviceOrderId = serviceOrderId;
	}

	public void setShipCompany(String shipCompany) {
		this.shipCompany = shipCompany;
	}

}
